import { createStore } from 'vuex'
import createPersistedState from 'vuex-persistedstate';
import cart from './cart';
import user from './user'

export default createStore({
    modules: {
        cart,
        user
    },
    plugins: [createPersistedState]
})